# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'editingTableView.ui'
#
# Created: Mon Dec 24 15:43:44 2007
#      by: PyQt4 UI code generator 4.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_Form(object):
    def setupUi(self, Form, dataModel, dataName):
        Form.setObjectName("Form")
        Form.resize(QtCore.QSize(QtCore.QRect(0,0,400,300).size()).expandedTo(Form.minimumSizeHint()))

        self.hboxlayout = QtGui.QHBoxLayout(Form)
        self.hboxlayout.setObjectName("hboxlayout")

        self.tableView = QtGui.QTableView(Form)
        self.tableView.setObjectName("tableView")
        self.tableView.setModel(dataModel)
        self.tableView.setEditTriggers(QtGui.QAbstractItemView.DoubleClicked)
        self.hboxlayout.addWidget(self.tableView)

        self.retranslateUi(Form, dataName)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form, dataName):
        Form.setWindowTitle(QtGui.QApplication.translate("Form", dataName, None, QtGui.QApplication.UnicodeUTF8))


#
#if __name__ == "__main__":
#    import sys
#    app = QtGui.QApplication(sys.argv)
#    Form = QtGui.QWidget()
#    ui = Ui_Form()
#    ui.setupUi(Form)
#    Form.show()
#    sys.exit(app.exec_())
